package com.eshin.validatetor;

import org.springframework.stereotype.Component;

@Component
public class RefundNameValidator implements Validator<RefundBean> {

	@Override
	public void validate(RefundBean refundBean) {
		System.out.println("refund name:"+refundBean.getName()+","+refundBean.getRefund());
	}

}
